<#include "/common/head.ftl">

<@showTitle title="${i18n.getMessage('studyProgram')}"></@showTitle>

<#list programs as program>
	${request.setAttribute("levels", program.levels)}
	<br/> 
	<b style="margin-left:2px">${program.name}</b>: 
	<br/>
	<@display.table id="listTable" name="levels">
		<@display.column title="${i18n.getMessage('name')}" style="width:16%"><a href="#" onclick="cc('program/showEditLevel.sgt?id=${listTable.id}')">${listTable.name}</a></@display.column>		
		<@display.column title="Hours/Weeks" style="text-align:center;width:11%">${(listTable.hours)!}/${(listTable.weeks)!}</@display.column>
		<@display.column title="${i18n.getMessage('tuition')} (USD)" style="text-align:center;width:11%">${(listTable.tuition.amount)!}</@display.column>
		<@display.column title="${i18n.getMessage('scoreRange')}" style="text-align:center;width:11%">${(listTable.minScore)!}-${(listTable.maxScore)!}</@display.column>
		<@display.column title="${i18n.getMessage('waitingStudents')}" style="text-align:center;width:11%"><a href="#" onclick="cc('program/showListWaiting.sgt?levelId=${listTable.id}')" style="color:000;cursor:pointer;">${listTable.waitings.size()}</a></@display.column>
		<@display.column title="${i18n.getMessage('document')}" style="text-align:left;width:40%">${(listTable.document)!}</@display.column>
	</@display.table>
</#list>

<br/>

